package com.snopy.thread.aqs;

import java.util.concurrent.locks.AbstractQueuedSynchronizer;
import java.util.concurrent.locks.ReentrantLock;

/**
 * @author snopy
 * @version 1.0.0
 * @classname CustomLock
 * @description delegate
 * @email 77912204@qq.com
 * @date 2022/11/22 23:16
 */
public class CustomLock{

    class Sync extends AbstractQueuedSynchronizer{
        @Override
        protected boolean tryAcquire(int arg) {
            return super.tryAcquire(arg);
        }
    }
}
